package cn.xinfei.xdecision.common.model.component.guiderule.vo;

import cn.xinfei.xdecision.common.model.BaseVO;
import cn.xinfei.xdecision.common.model.component.scriptrule.RuleScriptVersion;
import lombok.Data;

import java.util.List;

/**
 * Created by maying on 2023/03/25.
 **/
@Data
public class RuleListRespVo extends BaseVO {

	private Long id;//主键

	private String name;//规则名称

	private String code;//规则代码

	private String description;//规则描述

	private Long folderId;//文件夹id

	private Long lastVersion;

	private String lastVersionDesc;

	private Integer status;

	private Integer difficulty;//规则难度：1:简单规则,2:复杂规则,3:脚本规则

	private String scriptType;//脚本类型python，js，groovy

	private List<RuleVersionVo> ruleVersionList;

	private List<RuleScriptVersion> ruleScriptVersionList;
}
